import { useContext } from 'react';
import { AudioChatContext } from '@/components/AudioChatProvider/context';

export const useMessageList = () => {
  const { chatMessages, setChatMessages } = useContext(AudioChatContext);
  return { chatMessages, setChatMessages };
};
